<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="ClickHouse和Redis合并部署场景，偶现Redis节点离线、备份或恢复失败">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="redis-00056.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="redis-00059">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>ClickHouse和Redis合并部署场景，偶现Redis节点离线、备份或恢复失败</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="redis-00059"></a><a name="redis-00059"></a>

<h1 class="topictitle1">ClickHouse和Redis合并部署场景，偶现Redis节点离线、备份或恢复失败</h1>
<div><div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">故障现象</span></h4><p>ClickHouse和Redis合并部署在同一个MRS生产节点，出现节点离线、备份失败或恢复失败。</p>
</div>
<div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">可能原因</span></h4><p>ClickHouse和Redis合并部署，为ClickHouse配置的Kerberos认证主体不具有Redis备份恢复所需的权限。</p>
</div>
<div class="section"><h4 class="sectiontitle"><span style="color:#5B9BD5;">处理建议</span></h4><ol><li><span>登录离线或备份恢复失败的Redis节点。</span></li><li><span>执行<strong>cd <em>/opt</em>/DataBackup/ProtectClient/ProtectClient-E/slog/Plugins/GeneralDBPlugin/</strong>命令（命令中的<em><strong>/opt</strong></em>请根据客户端的实际安装目录替换。）进入日志文件目录，查看<span class="uicontrol">“redis.log”</span>日志文件中是否包含以下错误信息：</span><p><p>DB::Exception <em>XXX</em>: Not enough privileges.</p>
<p>其中<em>XXX</em>表示ClickHouse的Kerbors认证主体名。</p>
<ul><li>如果包含错误信息，请为ClickHouse的Kerbors认证主体名添加Redis备份恢复所需权限。</li><li>如果不包含错误信息，请收集日志信息并联系技术支持工程师协助处理。</li></ul>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="redis-00056.html">常见问题</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>